//============================================================================
// Name        : NightMerger.cpp
// Author      : 
// Version     :
// Copyright   : 
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include <fstream>
#include "FTMerger.h"
using namespace std;

int main(int argc , char** argv) {
	ifstream f0;
	string baseDir = "/work/"
	baseDir = baseDir.append(argv[1]);
	f0.open(baseDir, ios::in);
	ifstream f1;
	string baseDir = "/work/"
	baseDir = baseDir.append(argv[2]);
	f1.open(baseDir, ios::in);
	ofstream dest;
	string baseDir = "/work/"
	baseDir = baseDir.append(argv[3]);
	dest.open(baseDir, ios::out);
	FTMerger::merge(&f0,&f1,&dest);
	f0.close();
	f1.close();
	dest.close();
	
	return 0;
}
